package com.center.biz.impl;

import com.center.api.model.EduCourseTeacher;
import com.center.api.remote.RemoteEduCourseTeacherService;
import com.center.biz.dao.EduCourseTeacherMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service(version = "1.0",interfaceClass = RemoteEduCourseTeacherService.class)
public class RemoteEduCourseTeacherServiceImpl implements RemoteEduCourseTeacherService {

    @Autowired
    private EduCourseTeacherMapper eduCourseTeacherMapper;

    @Override
    public int delete(int id) {
        return 0;
    }

    @Override
    public int saveArticle(EduCourseTeacher eduCourseTeacher) {
        return eduCourseTeacherMapper.insertSelective(eduCourseTeacher);
    }

    @Override
    public EduCourseTeacher getById(int id) {
        return null;
    }

    @Override
    public List<EduCourseTeacher> list(EduCourseTeacher eduCourseTeacher) {
        return null;
    }

    @Override
    public int update(EduCourseTeacher eduCourseTeacher) {
        return 0;
    }
}
